﻿@model MVCTask.Models.LogOnModel
@{
    ViewBag.Title = "Log On";
}
<h2>
    Log On</h2>
<p>
    You can use your OpenID account for logging in, for more information about OpenID
    and the providers, you can follow <a href="http://openid.net/">this link</a>
</p>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
<div>
    <fieldset>
        <legend>Account Information</legend>
        <form action="/Authentication/Authenticate" method="post">
        <div class="editor-label">
            <label for="openid_identifier">
                OpenID Provider URL:
            </label>
        </div>
        <div class="editor-field">
            <input type="openid_identifier" size="60" name="openid_identifier" value="https://www.google.com/accounts/o8/id" />
        </div>
        <div class="editor-label">
            <label for="remember">Remember me:</label>
            <input type="checkbox" name="remember" value="on"/>
        </div>
        <p>
            <input type="submit" value="Log On"/>
        </p>
        </form>
    </fieldset>
</div>
